﻿using System.Windows;
using MediaPlayer.ViewModel;

namespace MediaPlayer
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();

            PlayerViewModel playerViewModel = new PlayerViewModel(this);
            
            this.PlayerView.DataContext = playerViewModel;

            this.PlayerView.DetailView.DataContext = playerViewModel;
        }
    }
}
